<?
//引入所有子系统信息
include_once("../../../common/model/extender_import.php");





$order_info=select_one_line_all_items($table_Prefix."order_info","order_id = '".$_REQUEST ['nid']."'");
$order_detail=select_lines_all_items($table_Prefix."order_detail","","order_nid = '".$_REQUEST ['nid']."'","");


$user=select_one_line_all_items($table_Prefix."member","nid = '".$order_info['user_id']."'");


//获取退款记录
$refund_info=select_lines_items($table_Prefix."event_refund_log","","add_date,price,nid,event_id","order_id = '{$_REQUEST ['nid']}'","");

$_product_id_list=transform_2darray_in_1darray_number_as_key($refund_info,"event_id");
$_product_id_list_str=implode("','",$_product_id_list);


$product_list=select_lines_all_items($table_Prefix."product_data","",
    "nid IN ('{$_product_id_list_str}')","");

$product_name_list=transform_2darray_in_1darray_with_new_key($product_list,"nid","title");

//获取退款记录
$refund_apply_list=select_lines_all_items($table_Prefix."order_refund_apply_data","","order_nid = '{$_REQUEST ['nid']}'","");


?>

